// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/css/swiper.css'
import './assets/index.css'
import Vant from "vant"
import 'vant/lib/index.css'
import axios from 'axios'

Vue.prototype.$axios = axios

Vue.use(VueAwesomeSwiper)
Vue.use(ElementUI)
Vue.use(Vant)

Vue.config.productionTip = false

Vue.component('index', require('./Index.vue').default)
Vue.component('user-center', require('./UserCenter.vue').default)
Vue.component('orders', require('./Orders.vue').default)
Vue.component('place-order-send', require('./PlaceOrderSend/PlaceOrderSend').default)

/* eslint-disable no-new */
new Vue({
  el: '#app'
})
